#ifndef __CMD_T_H__
#define __CMD_T_H__

#include <stddef.h>
#include "config.h"

#ifdef __cplusplus
extern "C" {
#endif

typedef struct cmd
{
	void*		pFunc;
	void*		pArgs;
	size_t		argsSize;
} cmd_t;

INLINE cmd_t*			cmd_init(cmd_t* cmd, void* pFunc, void* args, size_t argsSize);

#ifdef __cplusplus
}
#endif

#endif /* __CMD_T_H__ */

